package com.bobo.service.topicTag;

import com.bobo.dto.Page;
import com.bobo.model.Tag;
import com.bobo.model.Topic;
import com.bobo.model.TopicTag;

import java.util.List;

/**
 * Created by bobo on 16-10-28.
 */
public interface ITopicTagService {

    public Integer create(TopicTag topicTag);

    public boolean delete(TopicTag topicTag);

    public List<Tag> getTags(Integer topicId);

    public Page<Topic> getTopics(Integer tagId,Integer current, Integer pageSize);
}
